Skip to content

Upgrade notes: offline_access in sign-in - #43

Open
dcmcand wants to merge 1 commit into
slice/agent-tokens-03-offline-access-warnfrom
slice/agent-tokens-04-offline-access-notes
Open

dcmcand wants to merge 1 commit into
slice/agent-tokens-03-offline-access-warnfrom
slice/agent-tokens-04-offline-access-notes

Conversation

@dcmcand

@dcmcand dcmcand commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Slice 4: Upgrade notes for offline_access (migrate)

Admins know before the refusal ships to take offline_access out of auth.oidc.scopes and keep it an optional (not default) scope of Tapas's client, and the test cluster is already in that state.

Spec: nebari-dev/tapas/docs/superpowers/specs/2026-11-30-agent-token-broker-design.md
Plan: nebari-dev/tapas/docs/superpowers/plans/2026-12-01-agent-tokens-and-frames.md (Slice 4)
Contracts touched: Platform config auth.oidc.scopes, and the sign-in callback's answer to a token response listing offline_access (migrate)
Depends on: #42

An "Upgrading" section in site/src/content/docs/admin/sign-in.mdx quotes both warnings from #42 (config.deprecated_scope, auth.offline_access_in_sign_in), says what to remove from auth.oidc.scopes, and how to check in the Keycloak console that offline_access is an optional client scope.

Validation

Step Command / action Expected Result
repo grep -rn -i 'offline_access' ... deploy site/src internal (yaml, json, md, mdx) only the new doc text 7 hits, all in the upgrade note
cluster int-hub-test's config and the Slice 1 check C8 no offline_access in auth.oidc.scopes; a normal sign-in does not list it [profile, email]; C8 confirms; optional on javo-javo
docs make docs builds not run locally (Node v22.23.1 is below Astro's >=22.23.4); CI's Docs build is the check

The sign-in admin page now says, before the refusal ships, how to take
offline_access out of auth.oidc.scopes and keep it an optional (not
default) scope of Tapas's client. It quotes both warnings, by event
name and text, so admins can find them in their logs.

The contracts entry names this migration step, and its Consumers line
says the docs now mention offline_access only in that note. The plan
records the slice's evidence.
@dcmcand
dcmcand added this pull request to stack #40 December 1, 2026 15:37

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant